﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using DTO;

namespace NGU.WUC
{
    public partial class search_box : System.Web.UI.UserControl
    {
        public List<LocationDTO> locationLst;
        protected void Page_Load(object sender, EventArgs e)
        {
            TourBUS bus = new TourBUS();
            this.locationLst = bus.layDiaDiem("");
        }

        protected void searchBut_Click(object sender, EventArgs e)
        {
            //Response.Redirect("/TourDuLich.aspx?action=search&toutype=" + this.tourtype.Value
            //    + "&location=" + this.location.Value
            //    + "&fromprice=" + this.fromprice.Value
            //    + "&toprice=" + this.toprice.Value
            //    + "&fromdate=" + this.fromdate_search.Value
            //    + "&todate=" + this.todate_search.Value);
        }
    }
}